package factoryPattern.abstractFactoryPattern.factory;

import factoryPattern.abstractFactoryPattern.entity.DaZhongEngine;
import factoryPattern.abstractFactoryPattern.entity.DaZhongTire;
import factoryPattern.abstractFactoryPattern.entity.Engine;
import factoryPattern.abstractFactoryPattern.entity.Tire;

public class DaZhongFactory implements AbstractFactory{
    @Override
    public Engine createEngine() {
        return new DaZhongEngine();
    }

    @Override
    public Tire createTire() {
        return new DaZhongTire();
    }
}
